package com.zlm.String;

/**
 * @author 13026
 */
public class StringBuilderDemo {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();
        // append reverse toString
        sb.append(1).append(2.3).append(true);
        sb.reverse();
        System.out.println(sb);
        System.out.println(sb.toString());
        // 转回字符串
        String s = sb.toString();
    }
}





